package com.liu.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liu.dto.FoodsDto;
import com.liu.entity.Foods;

import java.util.List;

public interface FoodsDao extends BaseMapper<Foods> {

    List<Foods> selectlist();

    //    按价格查询
    List<Foods> selectByPrice();

//    按销量查询
    List<FoodsDto> selectByBuy();

//    查询详情
    FoodsDto detailById(int id);
}
